package com.example.demo.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

@Data
@Entity
@Table(name="t_groupmessage")
public class GroupMessageBean extends BaseBean{

    @Column(name = "groupName", length = 500)
    private String groupName;//群组名称

    @Column(name = "gmessage", length = 400)
    private String gmessage;//留言内容

    @Column(name = "gmessageuserid", length = 36)
    private String gmessageuserid;//留言人id

    @Column(name = "gmessageusername", length = 36)
    private String gmessageusername;//留言人姓名
}
